package com.angel.bo.admin.service;

import com.angel.bo.beans.admin.entity.UserRole;
import com.angel.bo.beans.admin.vo.UserRoleVo;
import com.angel.bo.common.msg.WebReturn;
import com.angel.bo.common.service.BaseService;

/**
 * 
 *
 * @author ${author}
 * @email haibo.mei@ge.com
 * @date 2018-02-01 14:32:20
 */
public interface UserRoleService extends BaseService<UserRole> {
    /**
     * 给给用户授权角色
     * @param userRoleVo
     * @return
     */
    WebReturn configUserRole(UserRoleVo userRoleVo);

    /**
     * 获取用户角色配置信息
     * @param userRoleVo
     * @return
     */
    WebReturn getUserRoleList(UserRoleVo userRoleVo);

    /**
     * 获取用户角色实例列表
     * @param userRoleVo
     * @return
     */
    WebReturn getUserRolePage(UserRoleVo userRoleVo);
}


